package com.liguangting.agentsflex.agent;

import com.agentsflex.core.agent.DefaultAgent;
import com.agentsflex.core.chain.Chain;


/**
 * @author liguangting
 * @date 2024/7/9
 * @description
 */
public class Agent2 extends DefaultAgent {

    public Agent2(Object id) {
        super(id);
    }

    @Override
    public Object execute(Object parameter, Chain chain) {
        return id + ":" + parameter;
    }
}
